package com.cjkj.equipment.service;

import com.cjkj.equipment.domain.EquipmentMonitorRecordsRealtime;

/**
 * 设备实时数据记录Service接口
 * 
 * @author cjkj
 * @date 2024-08-15
 */
public interface IEquipmentMonitorRecordsRealtimeService {


    EquipmentMonitorRecordsRealtime getByProductIdAndEquipmentNo(String productId, String equipmentNo);

    /**
     * 新增设备实时数据记录
     *
     * @param equipmentMonitorRecordsRealtime 设备实时数据记录
     * @return 结果
     */
    int insertEquipmentMonitorRecordsRealtime(EquipmentMonitorRecordsRealtime equipmentMonitorRecordsRealtime);

    /**
     * 实时数据
     * @param equipmentNo 设备编号
     * @return
     */
    EquipmentMonitorRecordsRealtime getRealtimeData(String equipmentNo);

    /**
     * 修改设备实时数据记录
     * 
     * @param equipmentMonitorRecordsRealtime 设备实时数据记录
     * @return 结果
     */
    int updateEquipmentMonitorRecordsRealtime(EquipmentMonitorRecordsRealtime equipmentMonitorRecordsRealtime);

}
